<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
    <xsl:template match="/">
        <page>
        <xsl:copy-of select="page/meta"/>
        <content>
            <xsl:for-each select="page/content/module">
                <xsl:sort select="sort"/>
                <xsl:copy-of select="."/>
            </xsl:for-each>
        </content>
        </page>
    </xsl:template>
</xsl:stylesheet> 